package com.vincent.kdp.ui.fragment.repository;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.vincent.kdp.BaseFragment;
import com.vincent.kdp.R;

/**
 * Created by dzl on 2017/1/12.
 */

public class WorkFragment extends BaseFragment{


    private View mView;

    @Override
    protected int layoutId() {
        return 0;
    }

    @Override
    protected void getBundleData() {

    }

    @Override
    protected void findViewById(View v) {

    }

    @Override
    protected void initViewData() {

    }

    @Override
    protected void listener() {

    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        if (mView != null) {
            ViewGroup parent = (ViewGroup) mView.getParent();
            if (parent != null) {
                parent.removeView(mView);
            }
        } else {
            mView = inflater.inflate(R.layout.activity_fragment, container, false);
        }
        return mView;
    }

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        initViews();
    }

    private void initViews() {




    }
}
